﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Database.Model.Customers>" %>
<%@ Import Namespace="CRM.Resourses" %>

<% Html.DevExpress().GridView(settings =>
                                    {
                                        settings.Name = "gdSalesChanells";
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerDate; 
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerDistributor;
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerSubdistributor;
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerWindowManufacturer;
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerIndependentRetail;
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerWindowDealer;
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerEndCustomer;
                                            //column.FieldName = "Category";
                                        });
                                        settings.Columns.Add(column =>
                                        {
                                            column.Caption = Resourses.customerConstructionObject;
                                            //column.FieldName = "Category";
                                        });
                                        
                                    }

    ).GetHtml();                 %>